//
//  common.swift
//  SinaWeibo
//
//  Created by 风不会停息 on 2016/11/15.
//  Copyright © 2016年 风不会停息. All rights reserved.
//

import UIKit

//第三方登录授权配置信息
let client_id = "2483618679"
let client_secret = "51273410dc7dc34de4153f72cb0f899d"
let redirect_uri = "http://www.baidu.com"


let kChoseRootViewController = "kChoseRootViewController"

func randomColor() -> UIColor {
    let r = CGFloat(arc4random() % 256) / 255.0
    let g = CGFloat(arc4random() % 256) / 255.0
    let b = CGFloat(arc4random() % 256) / 255.0
    return UIColor(red: r, green:g, blue: b, alpha: 1)
}

//屏幕的尺寸信息
let ScreenWidth = UIScreen.main.bounds.width

let ScreenHeight = UIScreen.main.bounds.height

let navBarHeight: CGFloat = 64
